<?php 
class CommentsController extends Zend_Controller_Action
{
    private $webserviceComment;
    
    public function init(){
        $this->webserviceComment = new Webservices_Comments();
    }
    
    public function removeCommentAction(){
        echo $this->webserviceComment->removeComment("admin", "123", 3);
        die;
    }
    
    public function addCommentAction(){
        $str = '{"content":"I just comment for this ticket","commentId":0,"eventId":1,"userId":1}';
        echo $this->webserviceComment->addComment("admin", "123", $str);
        die;
    }
}